<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Main.Master"
    AutoEventWireup="true" Inherits="System.Web.Mvc.ViewPage<ProjectListView>" %>
<%@ Import Namespace="good1.Web.Controllers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="titleContent" runat="server">
    Projects
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="toptone" runat="server">
    
    <h1 class="about-heading">
        Featured projects</h1>
</asp:Content>

<asp:Content ContentPlaceHolderID="mainContentPlaceHolder" runat="server">
    <!--TODO evaluate story with this message and then tidy, remove if clause at least. -->
    <% if (ViewContext.TempData["message"] != null)
       { %>
    <p>
        <%= ViewContext.TempData["message"]%>
        </p>
     <% } %>
    
	<% Html.RenderPartial("ProjectList", ViewData.Model.ProjectList); %>
    
</asp:Content>
